package com.shuai.jit.entity.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author bn
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("学科类别")
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    /**
     * 类型1 ： 表示的是
     */
    @ApiModelProperty("类型")
    private int type;

    @ApiModelProperty("发送对象")
    private String fromId;

    @ApiModelProperty("发送对象")
    private String fromName;

    @ApiModelProperty("发送对象的图片")
    private String fromAvatar;

    @ApiModelProperty("发送对象")
    private String toName;

    @ApiModelProperty("发送对象")
    private String toId;

    @ApiModelProperty("内容")
    private String context;

}
